﻿using System;
using System.Data;
using CXJ.Libiary;

namespace CXJ.Model
{
    public class tbAdminEntity : BaseEntity
    {

        public override string PK { get { return "iadmID"; } }

        public override object PK_VALUE
        {
            get { return iadmID; }
            set { iadmID = value.ToString(); }
        }
        public override string TABLE_NAME { get { return "tbAdmin"; } }


        [DBColumnAttribue(true, false, true, false, true, DbType.Int32)]
        public string iadmID { get; set; }
        [DBColumnAttribue(true, true, false, false, true, DbType.AnsiString)]
        public string sUserName { get; set; }
        [DBColumnAttribue(true, true, false, true, true, DbType.AnsiString)]
        public string sPassword { get; set; }
        [DBColumnAttribue(true, true, false, true, true, DbType.Int32)]
        public string iPermission { get; set; }
        [DBColumnAttribue(true, true, false, true, true, DbType.DateTime)]
        public string dDateTime { get; set; }
    }
}
